/*
 * The MIT License
 *
 * Copyright 2015 chronosinfo.com.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 * Autor John Vanderson M Lima
 */
package com.chronos.pafecf.entidades;


import java.io.Serializable;
import java.util.Date;
import java.util.List;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Temporal;

/**
 *
 * @author usuario
 */
public class EcfImpressora implements Serializable {

    private static final long serialVersionUID = 1L;
    @Id
    @Basic(optional = false)
    @Column(name = "ID", nullable = false)
    private Integer id;
    private Integer numero;
    private String codigo;
    private String serie;
    private String identificacao;
    private String mc;
    private String md;
    private String vr;
    private String tipo;
    private String marca;
    private String modelo;
    private String modeloAcbr;
    private String modeloDocumentoFiscal;
    private String versao;
    private String le;
    private String lef;
    private String mfd;
    private String lacreNaMfd;
    private String docto;
    @Temporal(javax.persistence.TemporalType.DATE)
    private Date dataInstalacaoSb;
    private String horaInstalacaoSb;
    private String numeroEcf;
    private List<EcfConfiguracao> Configuracoes;
    private List<EcfMovimento> movimentos;

    public EcfImpressora() {
    }

    public EcfImpressora(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getNumero() {
        return numero;
    }

    public void setNumero(Integer numero) {
        this.numero = numero;
    }

    public String getCodigo() {
        return codigo;
    }

    public void setCodigo(String codigo) {
        this.codigo = codigo;
    }

    public String getSerie() {
        return serie;
    }

    public void setSerie(String serie) {
        this.serie = serie;
    }

    public String getIdentificacao() {
        return identificacao;
    }

    public void setIdentificacao(String identificacao) {
        this.identificacao = identificacao;
    }

    public String getMc() {
        return mc;
    }

    public void setMc(String mc) {
        this.mc = mc;
    }

    public String getMd() {
        return md;
    }

    public void setMd(String md) {
        this.md = md;
    }

    public String getVr() {
        return vr;
    }

    public void setVr(String vr) {
        this.vr = vr;
    }

    public String getTipo() {
        return tipo;
    }

    public void setTipo(String tipo) {
        this.tipo = tipo;
    }

    public String getMarca() {
        return marca;
    }

    public void setMarca(String marca) {
        this.marca = marca;
    }

    public String getModelo() {
        return modelo;
    }

    public void setModelo(String modelo) {
        this.modelo = modelo;
    }

    public String getModeloAcbr() {
        return modeloAcbr;
    }

    public void setModeloAcbr(String modeloAcbr) {
        this.modeloAcbr = modeloAcbr;
    }

    public String getModeloDocumentoFiscal() {
        return modeloDocumentoFiscal;
    }

    public void setModeloDocumentoFiscal(String modeloDocumentoFiscal) {
        this.modeloDocumentoFiscal = modeloDocumentoFiscal;
    }

    public String getVersao() {
        return versao;
    }

    public void setVersao(String versao) {
        this.versao = versao;
    }



    public String getDocto() {
        return docto;
    }

    public void setDocto(String docto) {
        this.docto = docto;
    }

    public Date getDataInstalacaoSb() {
        return dataInstalacaoSb;
    }

    public void setDataInstalacaoSb(Date dataInstalacaoSb) {
        this.dataInstalacaoSb = dataInstalacaoSb;
    }

    public String getHoraInstalacaoSb() {
        return horaInstalacaoSb;
    }

    public void setHoraInstalacaoSb(String horaInstalacaoSb) {
        this.horaInstalacaoSb = horaInstalacaoSb;
    }

    public String getLe() {
        return le;
    }

    public void setLe(String le) {
        this.le = le;
    }

    public String getLef() {
        return lef;
    }

    public void setLef(String lef) {
        this.lef = lef;
    }

    public String getMfd() {
        return mfd;
    }

    public void setMfd(String mfd) {
        this.mfd = mfd;
    }

    public String getLacreNaMfd() {
        return lacreNaMfd;
    }

    public void setLacreNaMfd(String lacreNaMfd) {
        this.lacreNaMfd = lacreNaMfd;
    }

    public String getNumeroEcf() {
        return numeroEcf;
    }

    public void setNumeroEcf(String numeroEcf) {
        this.numeroEcf = numeroEcf;
    }

    public List<EcfConfiguracao> getConfiguracoes() {
        return Configuracoes;
    }

    public void setConfiguracoes(List<EcfConfiguracao> Configuracoes) {
        this.Configuracoes = Configuracoes;
    }

    public List<EcfMovimento> getMovimentos() {
        return movimentos;
    }

    public void setMovimentos(List<EcfMovimento> movimentos) {
        this.movimentos = movimentos;
    }

    

    @Override
    public int hashCode() {
        int hash = 0;
        hash += (id != null ? id.hashCode() : 0);
        return hash;
    }

    @Override
    public boolean equals(Object object) {
        // TODO: Warning - this method won't work in the case the id fields are not set
        if (!(object instanceof EcfImpressora)) {
            return false;
        }
        EcfImpressora other = (EcfImpressora) object;
        if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id))) {
            return false;
        }
        return true;
    }

    @Override
    public String toString() {
        return "com.chronos.pafecf.entidades.EcfImpressora[ id=" + id + " ]";
    }

}
